<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\DB;
use Intervention\Image\Facades\Image;

class dyimg extends Controller
{
    public function (Request $request){
         return 1;
       $file =  $request->file();
       if(!empty($file)){
           DB::table('lsimg')->insertGetId(
               ['img'=>1]
           );
       }
//        $key = key($file);
    }
}
